package com.yunkeji.dao.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.yunkeji.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 反馈对象 ykj_user_feedback
 *
 * @author 老张
 * @date 2024-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ykj_user_feedback", autoResultMap = true)
public class UserFeedback extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    @TableId(value = "id")
    private Long id;
    /** 类型 */
    private Integer type;
    /** 内容 */
    private String content;
    /** 联系方式 */
    private String contract;
    /** 图片 */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> imgs;
    /** 用户id */
    private Long userId;

    private Integer status;

    private String remark;
}
